package com.kc.business.mapper;

import com.kc.business.domain.BizUserRole;
import com.kc.common.core.dao.BaseMapper;
import org.apache.ibatis.annotations.Delete;

/**
 * FileName: BizUserRoleMapper
 * Author:   TP
 * Date:     2020-11-03 10:56
 * Description:
 */
public interface BizUserRoleMapper extends BaseMapper<BizUserRole> {

    @Delete("delete from kc_user_role where roleId = #{roleId}")
    int deleteByRoleId(Integer roleId);
}
